package com.cloudsea.yunhaistores.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "当前登录的商户及用户信息")
public class MerchantInfoDTO {

    @Schema(description = "商户用户ID (员工ID)")
    private Long userId;

    @Schema(description = "登录用户名 (手机号)")
    private String username;

    @Schema(description = "员工姓名")
    private String fullName;

    @Schema(description = "员工角色 (admin, cashier)")
    private String role;

    @Schema(description = "所属商户ID")
    private Long merchantId;

    @Schema(description = "商户名称")
    private String merchantName;

    @Schema(description = "商户编号")
    private String merchantNo;
}